<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        
        // function a() {
        //     console.log(this);
        // }
        // a.call(document);



        // function a(x, y) {
        //     console.log(x);
        //     console.log(y);
        //     console.log(this);
        // }
        // a(8, 9);
        // a.call(document, 8, 9);


        function a(x, y) {
            console.log(x);
            console.log(y);
            console.log(this);
        }
        a(8, 9);
        a.apply(document, [8, 9]);

    </script>
</body>
</html>